

module static_seg_led_timer (
    input sys_clk,
    input sys_rst,
    
    output reg seg_num_inc_flag
);

//参数定义
parameter SEG_LED_NUM_INC_PERIOD =  25'd25000000;

reg [24:0] seg_led_num_inc_period;

always @(posedge sys_clk or negedge sys_rst) begin
    if (!sys_rst) begin
        seg_num_inc_flag <= 1'b0;
        seg_led_num_inc_period <= 25'd0;
    end
    else if (seg_led_num_inc_period < SEG_LED_NUM_INC_PERIOD - 1) begin
        seg_led_num_inc_period <= seg_led_num_inc_period + 1'b1;
        seg_num_inc_flag <= 1'b0;
    end
    else begin
        seg_num_inc_flag <= 1'b1;
        seg_led_num_inc_period <= 25'd0;
    end
     

end


endmodule